package com.bdq.gateway.filter.enums;

import lombok.Getter;

/**
 * 认证忽略路径枚举
 *
 * @author malei
 * @date 2023-08-23 15:36
 */
@Getter
public enum AuthIgnoreUriEnum {

    /**
     * 测试接口
     */
    TEST("/bdq-basic/test/test1", "测试"),

    /**
     * 用户登录
     */
    SEND_VERIFY_CODE("/bdq-user/user/login-verify-code/send", "发送验证码"),

    /**
     * 用户登录
     */
    LOGIN("/bdq-user/user/login", "用户登录"),

    /**
     * 推荐分页
     */
    RECOMMEND_PAGE("/bdq-recommend/recommend/page", "推荐分页"),

    /**
     * 分类获取
     */
    CATEGORY_GET("/bdq-basic/base/category/get", "'分类获取'"),

    /**
     * 内容详情
     */
    CONTENT_DETAIL("/bdq-content/content/detail", "内容详情"),

    /**
     * 浏览
     */
    VIEW("/bdq-interaction/interaction/view", "浏览"),

    /**
     * 父评论分页
     */
    COMMENT_PARENT_PAGE("/bdq-interaction/interaction/comment/parent/page", "父评论分页"),

    /**
     * 子评论分页
     */
    COMMENT_CHILD_PAGE("/bdq-interaction/interaction/comment/child/page", "子评论分页"),
    ;

    /**
     * 路径
     */
    private final String uri;

    /**
     * 描述
     */
    private final String desc;

    AuthIgnoreUriEnum(String uri, String desc) {
        this.uri = uri;
        this.desc = desc;
    }
}
